package com.xywl.escort.view.pwd;

import com.xywl.escort.di.ActivityScoped;
import com.xywl.escort.di.FragmentScoped;

import dagger.Binds;
import dagger.Module;
import dagger.android.ContributesAndroidInjector;

@Module
public abstract class ModifyPwdModule {

    @FragmentScoped
    @ContributesAndroidInjector
    abstract ModifyPwdActivity modifyPwdActivity();

    @ActivityScoped
    @Binds
    abstract ModifyPwdContract.Presenter modifyPwdPresenter(ModifyPwdPresenter presenter);
}
